package com.huawei.csi.tool.ui.alert;

import com.huawei.csi.tool.util.ResourcesUtil;
import javafx.scene.Node;

/**
 * @author lxw
 */
public class AboutAlert extends BaseSimpleAlert{
    public AboutAlert() {
        super(AlertType.INFORMATION);
        getDialogPane().getStylesheets().add("/css/about-alert.css");
        setContentNode(createContentNode());
    }

    private Node createContentNode() {
        return ResourcesUtil.loadFXML("about");
    }
}
